#include "userdata.h"
SearchInfo::SearchInfo(int uid, QString name, QString nick, QString desc, int sex, QString icon)
    : _uid(uid)
    , _name(name)
    , _nick(nick)
    , _desc(desc)
    , _sex(sex)
    , _icon(icon)
{}

AddFriendApply::AddFriendApply(
    int from_uid, QString name, QString desc, QString icon, QString email, int sex)
    : _from_uid(from_uid)
    , _name(name)
    , _desc(desc)
    , _icon(icon)
    , _email(email)
    , _sex(sex)
{}

ApplyInfo::ApplyInfo(
    int uid, QString name, QString desc, QString icon, QString email, int sex, int status)
    : uid(uid)
    , name(name)
    , desc(desc)
    , icon(icon)
    , email(email)
    , sex(sex)
    , status(status)
{}

AuthInfo::AuthInfo(int uid, QString name, QString remark, QString icon, QString desc, int sex)
    : uid(uid)
    , name(name)
    , remark(remark)
    , icon(icon)
    , desc(desc)
    , sex(sex)
{}

AuthRsp::AuthRsp(int peer_uid,
                 QString peer_name,
                 QString peer_remark,
                 QString peer_icon,
                 QString peer_desc,
                 int peer_sex)
    : uid(peer_uid)
    , name(peer_name)
    , remark(peer_remark)
    , icon(peer_icon)
    , desc(peer_desc)
    , sex(peer_sex)
{}
